from django.db import models


class Categories(models.Model):
	type = models.CharField(max_length = 20)

class Blog (models.Model):
	title = models.CharField(max_length=32)
	date = models.DateTimeField(auto_now_add=True)
	text = models.TextField()
	category = models.ForeignKey(Categories)
	
class AboutMe (models.Model):
	body = models.TextField() 
	
class Sites (models.Model):
	favourites = models.CharField(max_length=100) 
	
	